<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<!-- qwwlistnavigator.cpp -->
<head>
  <title>Qt 1.0: QwwListNavigator Class Reference</title>
  <link href="classic-4.6.css" rel="stylesheet" type="text/css" />
</head>
<body>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td align="left" valign="top" width="32"><a href="http://www.trolltech.com/products/qt"><img src="images/qt-logo.png" align="left" border="0" /></a></td>
<td width="1">&nbsp;&nbsp;</td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">wwWidgets Home</font></a>&nbsp;&middot; <a href="classes.html"><font color="#004faf">All&nbsp;Classes</font></a>&nbsp;&middot; <a href="mainclasses.html"><font color="#004faf">Main&nbsp;Classes</font></a>&nbsp;&middot; <a href="groups.html"><font color="#004faf">Grouped&nbsp;Classes</font></a>&nbsp;&middot; <a href="functions.html"><font color="#004faf">Functions</font></a></td>
<td align="right" valign="top" width="230">
<a href="http://www.wysota.eu.org/wwwidgets"><img src="images/ww-logo.png" align="right" width="137" height="41" border="0" /></a>
</td></tr></table><h1 class="title">QwwListNavigator Class Reference<br /><span class="small-subtitle">[<a href="wwwidgets.html">wwWidgets</a> module]</span>
</h1>
<p>The QwwListNavigator class provides a widget letting the user navigate through items in a list. <a href="#details">More...</a></p>
<pre> #include &lt;QwwListNavigator&gt;</pre><p><b>This class is not part of the Qt GUI Framework Edition.</b></p>
<p>Inherits <a href="http://qt.nokia.com/doc/4.7/qabstractslider.html">QAbstractSlider</a>.</p>
<ul>
<li><a href="qwwlistnavigator-members.html">List of all members, including inherited members</a></li>
</ul>
<hr />
<a name="public-types"></a>
<h2>Public Types</h2>
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="qwwlistnavigator.html#Button-enum">Button</a></b> { NoButtons, FirstButton, PrevButton, Slider, NextButton, LastButton }</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">flags </td><td class="memItemRight" valign="bottom"><b><a href="qwwlistnavigator.html#Button-enum">Buttons</a></b></td></tr>
</table>
<hr />
<a name="properties"></a>
<h2>Properties</h2>
<ul>
<li><div class="fn"><b><a href="qwwlistnavigator.html#autoRaise-prop">autoRaise</a></b> : bool</div></li>
<li><div class="fn"><b><a href="qwwlistnavigator.html#buttons-prop">buttons</a></b> : Buttons</div></li>
<li><div class="fn"><b><a href="qwwlistnavigator.html#orientation-prop">orientation</a></b> : Qt::Orientation</div></li>
<li><div class="fn"><b><a href="qwwlistnavigator.html#toolButtonStyle-prop">toolButtonStyle</a></b> : Qt::ToolButtonStyle</div></li>
</ul>
<ul>
<li><div bar="2" class="fn"></div>11 properties inherited from <a href="http://qt.nokia.com/doc/4.7/qabstractslider.html#properties">QAbstractSlider</a></li>
<li><div bar="2" class="fn"></div>58 properties inherited from <a href="http://qt.nokia.com/doc/4.7/qwidget.html#properties">QWidget</a></li>
<li><div bar="2" class="fn"></div>1 property inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#properties">QObject</a></li>
</ul>
<hr />
<a name="public-functions"></a>
<h2>Public Functions</h2>
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td class="memItemLeft" align="right" valign="top"></td><td class="memItemRight" valign="bottom"><b><a href="qwwlistnavigator.html#QwwListNavigator">QwwListNavigator</a></b> ( QWidget * <i>parent</i> = 0 )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><b><a href="qwwlistnavigator.html#autoRaise-prop">autoRaise</a></b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Buttons </td><td class="memItemRight" valign="bottom"><b><a href="qwwlistnavigator.html#buttons-prop">buttons</a></b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qwwlistnavigator.html#buttons-prop">setButtons</a></b> ( Buttons <i>b</i> )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qwwlistnavigator.html#setListWidget">setListWidget</a></b> ( QwwListWidget * <i>lw</i> )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Qt::ToolButtonStyle </td><td class="memItemRight" valign="bottom"><b><a href="qwwlistnavigator.html#toolButtonStyle-prop">toolButtonStyle</a></b> () const</td></tr>
</table>
<ul>
<li><div bar="2" class="fn"></div>22 public functions inherited from <a href="http://qt.nokia.com/doc/4.7/qabstractslider.html#public-functions">QAbstractSlider</a></li>
<li><div bar="2" class="fn"></div>217 public functions inherited from <a href="http://qt.nokia.com/doc/4.7/qwidget.html#public-functions">QWidget</a></li>
<li><div bar="2" class="fn"></div>13 public functions inherited from <a href="http://qt.nokia.com/doc/4.7/qpaintdevice.html#public-functions">QPaintDevice</a></li>
<li><div bar="2" class="fn"></div>29 public functions inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#public-functions">QObject</a></li>
</ul>
<hr />
<a name="public-slots"></a>
<h2>Public Slots</h2>
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qwwlistnavigator.html#autoRaise-prop">setAutoRaise</a></b> ( bool <i>v</i> )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qwwlistnavigator.html#orientation-prop">setOrientation</a></b> ( Qt::Orientation <i>o</i> )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qwwlistnavigator.html#toolButtonStyle-prop">setToolButtonStyle</a></b> ( Qt::ToolButtonStyle <i>v</i> )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qwwlistnavigator.html#toFirst">toFirst</a></b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qwwlistnavigator.html#toLast">toLast</a></b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qwwlistnavigator.html#toNext">toNext</a></b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qwwlistnavigator.html#toPrevious">toPrevious</a></b> ()</td></tr>
</table>
<ul>
<li><div bar="2" class="fn"></div>2 public slots inherited from <a href="http://qt.nokia.com/doc/4.7/qabstractslider.html#public-slots">QAbstractSlider</a></li>
<li><div bar="2" class="fn"></div>19 public slots inherited from <a href="http://qt.nokia.com/doc/4.7/qwidget.html#public-slots">QWidget</a></li>
<li><div bar="2" class="fn"></div>1 public slot inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#public-slots">QObject</a></li>
</ul>
<hr />
<a name="signals"></a>
<h2>Signals</h2>
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qwwlistnavigator.html#first">first</a></b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qwwlistnavigator.html#last">last</a></b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qwwlistnavigator.html#next">next</a></b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qwwlistnavigator.html#previous">previous</a></b> ()</td></tr>
</table>
<ul>
<li><div bar="2" class="fn"></div>6 signals inherited from <a href="http://qt.nokia.com/doc/4.7/qabstractslider.html#signals">QAbstractSlider</a></li>
<li><div bar="2" class="fn"></div>1 signal inherited from <a href="http://qt.nokia.com/doc/4.7/qwidget.html#signals">QWidget</a></li>
<li><div bar="2" class="fn"></div>1 signal inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#signals">QObject</a></li>
</ul>
<hr />
<a name="reimplemented-protected-functions"></a>
<h2>Reimplemented Protected Functions</h2>
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="qwwlistnavigator.html#sliderChange">sliderChange</a></b> ( SliderChange <i>change</i> )</td></tr>
</table>
<ul>
<li><div bar="2" class="fn"></div>8 protected functions inherited from <a href="http://qt.nokia.com/doc/4.7/qabstractslider.html#protected-functions">QAbstractSlider</a></li>
<li><div bar="2" class="fn"></div>37 protected functions inherited from <a href="http://qt.nokia.com/doc/4.7/qwidget.html#protected-functions">QWidget</a></li>
<li><div bar="2" class="fn"></div>1 protected function inherited from <a href="http://qt.nokia.com/doc/4.7/qpaintdevice.html#protected-functions">QPaintDevice</a></li>
<li><div bar="2" class="fn"></div>7 protected functions inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#protected-functions">QObject</a></li>
</ul>
<h3>Additional Inherited Members</h3>
<ul>
<li><div class="fn"></div>1 public type inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#public-variables">QObject</a></li>
<li><div class="fn"></div>4 static public members inherited from <a href="http://qt.nokia.com/doc/4.7/qwidget.html#static-public-members">QWidget</a></li>
<li><div class="fn"></div>4 static public members inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#static-public-members">QObject</a></li>
<li><div class="fn"></div>8 protected functions inherited from <a href="http://qt.nokia.com/doc/4.7/qabstractslider.html#protected-functions">QAbstractSlider</a></li>
<li><div class="fn"></div>37 protected functions inherited from <a href="http://qt.nokia.com/doc/4.7/qwidget.html#protected-functions">QWidget</a></li>
<li><div class="fn"></div>1 protected function inherited from <a href="http://qt.nokia.com/doc/4.7/qpaintdevice.html#protected-functions">QPaintDevice</a></li>
<li><div class="fn"></div>7 protected functions inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#protected-functions">QObject</a></li>
<li><div class="fn"></div>1 protected slot inherited from <a href="http://qt.nokia.com/doc/4.7/qwidget.html#protected-slots">QWidget</a></li>
<li><div class="fn"></div>1 protected type inherited from <a href="http://qt.nokia.com/doc/4.7/qpaintdevice.html#protected-variables">QPaintDevice</a></li>
<li><div class="fn"></div>2 protected variables inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#protected-variables">QObject</a></li>
</ul>
<a name="details"></a>
<hr />
<h2>Detailed Description</h2>
<p>The QwwListNavigator class provides a widget letting the user navigate through items in a list.</p>
<p align="center"><img src="images/qwwlistnavigator.png" alt="QwwListNavigator" /></p><hr />
<h2>Member Type Documentation</h2>
<h3 class="flags"><a name="Button-enum"></a>enum QwwListNavigator::Button<br />flags QwwListNavigator::Buttons</h3>
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
<tr><td valign="top"><tt>QwwListNavigator::NoButtons</tt></td><td align="center" valign="top"><tt>0</tt></td><td valign="top">No buttons are visible</td></tr>
<tr><td valign="top"><tt>QwwListNavigator::FirstButton</tt></td><td align="center" valign="top"><tt>1</tt></td><td valign="top">Button for moving onto the first record in the set</td></tr>
<tr><td valign="top"><tt>QwwListNavigator::PrevButton</tt></td><td align="center" valign="top"><tt>2</tt></td><td valign="top">Button for moving onto previous record in the set</td></tr>
<tr><td valign="top"><tt>QwwListNavigator::Slider</tt></td><td align="center" valign="top"><tt>4</tt></td><td valign="top">Slider for moving between records</td></tr>
<tr><td valign="top"><tt>QwwListNavigator::NextButton</tt></td><td align="center" valign="top"><tt>8</tt></td><td valign="top">Button for moving onto next record in the set</td></tr>
<tr><td valign="top"><tt>QwwListNavigator::LastButton</tt></td><td align="center" valign="top"><tt>16</tt></td><td valign="top">Button for moving onto the last record in the set</td></tr>
</table></p>
<p>The Buttons type is a typedef for <a href="qflags.html">QFlags</a>&lt;Button&gt;. It stores an OR combination of Button values.</p>
<hr />
<h2>Property Documentation</h2>
<h3 class="fn"><a name="autoRaise-prop"></a>autoRaise : bool</h3>
<p>This property holds this property holds whether buttons of the navigator are auto raised.</p>
<p><b>Access functions:</b></p>
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><b>autoRaise</b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b>setAutoRaise</b> ( bool <i>v</i> )</td></tr>
</table>
<h3 class="fn"><a name="buttons-prop"></a>buttons : <a href="qwwlistnavigator.html#Button-enum">Buttons</a></h3>
<p>This property holds this property holds visible buttons of the navigator.</p>
<p><b>Access functions:</b></p>
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td class="memItemLeft" align="right" valign="top">Buttons </td><td class="memItemRight" valign="bottom"><b>buttons</b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b>setButtons</b> ( Buttons <i>b</i> )</td></tr>
</table>
<h3 class="fn"><a name="orientation-prop"></a>orientation : <a href="http://qt.nokia.com/doc/4.7/qt.html#Orientation-enum">Qt::Orientation</a></h3>
<p>This property holds this property holds the orientation of the slider.</p>
<p>The orientation must be <a href="http://qt.nokia.com/doc/4.7/qt.html#Orientation-enum">Qt::Vertical</a> (the default) or <a href="http://qt.nokia.com/doc/4.7/qt.html#Orientation-enum">Qt::Horizontal</a>.</p>
<p><b>Access functions:</b></p>
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b>setOrientation</b> ( Qt::Orientation <i>o</i> )</td></tr>
</table>
<h3 class="fn"><a name="toolButtonStyle-prop"></a>toolButtonStyle : <a href="http://qt.nokia.com/doc/4.7/qt.html#ToolButtonStyle-enum">Qt::ToolButtonStyle</a></h3>
<p>This property holds this property holds the style of buttons in the navigator.</p>
<p><b>Access functions:</b></p>
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td class="memItemLeft" align="right" valign="top">Qt::ToolButtonStyle </td><td class="memItemRight" valign="bottom"><b>toolButtonStyle</b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b>setToolButtonStyle</b> ( Qt::ToolButtonStyle <i>v</i> )</td></tr>
</table>
<hr />
<h2>Member Function Documentation</h2>
<h3 class="fn"><a name="QwwListNavigator"></a>QwwListNavigator::QwwListNavigator ( <a href="http://qt.nokia.com/doc/4.7/qwidget.html">QWidget</a> * <i>parent</i> = 0 )</h3>
<p>Constructs a horizontal list navigator with a given <i>parent</i>.</p>
<h3 class="fn"><a name="first"></a>void QwwListNavigator::first ()&nbsp;&nbsp;<tt> [signal]</tt></h3>
<p>The signal is emited when the navigator is set on the first record in the set.</p>
<p>See also <a href="qwwlistnavigator.html#toFirst">toFirst</a>().</p>
<h3 class="fn"><a name="last"></a>void QwwListNavigator::last ()&nbsp;&nbsp;<tt> [signal]</tt></h3>
<p>The signal is emited when the navigator is set on the last record in the set.</p>
<p>See also <a href="qwwlistnavigator.html#toLast">toLast</a>().</p>
<h3 class="fn"><a name="next"></a>void QwwListNavigator::next ()&nbsp;&nbsp;<tt> [signal]</tt></h3>
<p>The signal is emited when the navigator is set on the next record in the set.</p>
<p>See also <a href="qwwlistnavigator.html#toNext">toNext</a>().</p>
<h3 class="fn"><a name="previous"></a>void QwwListNavigator::previous ()&nbsp;&nbsp;<tt> [signal]</tt></h3>
<p>The signal is emited when the navigator is set on the previous record in the set.</p>
<p>See also <a href="qwwlistnavigator.html#toPrevious">toPrevious</a>().</p>
<h3 class="fn"><a name="setListWidget"></a>void QwwListNavigator::setListWidget ( <a href="qwwlistwidget.html">QwwListWidget</a> * <i>lw</i> )</h3>
<p>Associates a <a href="qwwlistwidget.html">QwwListWidget</a> instance with the navigator.</p>
<p>The method observes the list widget <i>lw</i> allowing to navigate through its items using the navigator.</p>
<h3 class="fn"><a name="sliderChange"></a>void QwwListNavigator::sliderChange ( <a href="http://qt.nokia.com/doc/4.7/qabstractslider.html#SliderChange-enum">SliderChange</a> <i>change</i> )&nbsp;&nbsp;<tt> [virtual protected]</tt></h3>
<p>Reimplemented from <a href="http://qt.nokia.com/doc/4.7/qabstractslider.html#sliderChange">QAbstractSlider::sliderChange</a>().</p>
<p>This method performs a change of slider value specified by <i>change</i>.</p>
<h3 class="fn"><a name="toFirst"></a>void QwwListNavigator::toFirst ()&nbsp;&nbsp;<tt> [slot]</tt></h3>
<p>Moves navigator to the first record.</p>
<p>Does nothing if the navigator is already at the first record.</p>
<p>See also <a href="qwwlistnavigator.html#first">first</a>().</p>
<h3 class="fn"><a name="toLast"></a>void QwwListNavigator::toLast ()&nbsp;&nbsp;<tt> [slot]</tt></h3>
<p>Moves navigator to the last record.</p>
<p>Does nothing if the navigator is already at the last record.</p>
<p>See also <a href="qwwlistnavigator.html#last">last</a>().</p>
<h3 class="fn"><a name="toNext"></a>void QwwListNavigator::toNext ()&nbsp;&nbsp;<tt> [slot]</tt></h3>
<p>Moves navigator to the next record.</p>
<p>Does nothing if the navigator is already at the last record.</p>
<p>See also <a href="qwwlistnavigator.html#next">next</a>().</p>
<h3 class="fn"><a name="toPrevious"></a>void QwwListNavigator::toPrevious ()&nbsp;&nbsp;<tt> [slot]</tt></h3>
<p>Moves navigator to the previous record.</p>
<p>Does nothing if the navigator is already at the first record.</p>
<p>See also <a href="qwwlistnavigator.html#previous">previous</a>().</p>
<p /><address><hr /><div align="center">
<table width="100%" cellspacing="0" border="0"><tr class="address">
<td width="30%" align="left">Copyright &copy; 2007-2010 Witold Wysota 
<td width="40%" align="center"><a href="trademarks.html">Trademarks</a></td>
<td width="30%" align="right"><div align="right">wwWidgets 1.0.0</div></td>
</tr></table></div></address></body>
</html>
